package com.msb.test15;

public class Test {
    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            System.out.println(i);
        }


        TestThread tt = new TestThread();
        tt.start();


        for (int i = 0; i < 100; i++) {
            try {
                Thread.sleep(6);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
            System.out.println("这是主线程"+i);

        }

    }
}
